# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ResourceCapacity(object):

    def __init__(self, totalVCPUs=None, totalMemoryMB=None, totalDiskGB=None, totalGPUs=None, usedVCPUs=None, usedMemoryMB=None, usedDiskGB=None, usedGPUs=None, localDiskType=None, instanceCount=None):
        """
        :param totalVCPUs: (Optional) 专有宿主机总VCPU数
        :param totalMemoryMB: (Optional) 专有宿主机总内存大小，单位MB
        :param totalDiskGB: (Optional) 专有宿主机总本地磁盘大小，单位GB
        :param totalGPUs: (Optional) 专有宿主机总GPU个数
        :param usedVCPUs: (Optional) 专有宿主机已分配的VCPU数
        :param usedMemoryMB: (Optional) 专有宿主机已分配的内存大小，单位MB
        :param usedDiskGB: (Optional) 专有宿主机已分配的本地磁盘大小，单位GB
        :param usedGPUs: (Optional) 专有宿主机已分配的GPU个数
        :param localDiskType: (Optional) 专有宿主机本地盘类型
        :param instanceCount: (Optional) 专有宿主机上的云主机个数
        """

        self.totalVCPUs = totalVCPUs
        self.totalMemoryMB = totalMemoryMB
        self.totalDiskGB = totalDiskGB
        self.totalGPUs = totalGPUs
        self.usedVCPUs = usedVCPUs
        self.usedMemoryMB = usedMemoryMB
        self.usedDiskGB = usedDiskGB
        self.usedGPUs = usedGPUs
        self.localDiskType = localDiskType
        self.instanceCount = instanceCount
